/*
 * Copyright (c) 2012-2017 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
package org.eclipse.che.api.workspace.shared;

/**
 * Constants for Workspace API
 *
 * @author Yevhenii Voevodin
 */
public final class Constants {

  public static final String WORKSPACE_STOPPED_BY = "stopped_by";
  public static final String AUTO_CREATE_SNAPSHOT = "auto_snapshot";
  public static final String AUTO_RESTORE_FROM_SNAPSHOT = "auto_restore";
  public static final String LINK_REL_GET_WORKSPACES = "get workspaces";
  public static final String LINK_REL_GET_BY_NAMESPACE = "get by namespace";
  public static final String LINK_REL_CREATE_WORKSPACE = "create workspace";
  public static final String LINK_REL_REMOVE_WORKSPACE = "remove workspace";
  public static final String LINK_REL_START_WORKSPACE = "start workspace";
  public static final String LINK_REL_GET_RUNTIME_WORKSPACE = "get runtime workspace";
  public static final String LINK_REL_STOP_WORKSPACE = "stop workspace";
  public static final String GET_ALL_USER_WORKSPACES = "get all user workspaces";
  public static final String LINK_REL_GET_SNAPSHOT = "get workspace snapshot";
  public static final String LINK_REL_SELF = "self link";
  public static final String LINK_REL_IDE_URL = "ide url";
  public static final String LIN_REL_GET_WORKSPACE = "get workspace";

  public static final String LINK_REL_CREATE_STACK = "create stack";
  public static final String LINK_REL_UPDATE_STACK = "update stack";
  public static final String LINK_REL_REMOVE_STACK = "remove stack";
  public static final String LINK_REL_GET_STACK_BY_ID = "get stack by id";
  public static final String LINK_REL_GET_STACKS_BY_CREATOR = "get stacks by creator";
  public static final String LINK_REL_SEARCH_STACKS = "search stacks";

  public static final String LINK_REL_GET_ICON = "get icon link";
  public static final String LINK_REL_UPLOAD_ICON = "upload icon link";
  public static final String LINK_REL_DELETE_ICON = "delete icon link";

  public static final String LINK_REL_GET_WORKSPACE_EVENTS_CHANNEL = "get workspace events channel";

  public static final String WS_AGENT_PROCESS_NAME = "CheWsAgent";

  public static final String CHE_WORKSPACE_AUTO_SNAPSHOT = "che.workspace.auto_snapshot";
  public static final String CHE_WORKSPACE_AUTO_RESTORE = "che.workspace.auto_restore";
  public static final String CHE_WORKSPACE_AUTO_START = "che.workspace.auto_start";

  public static final String COMMAND_PREVIEW_URL_ATTRIBUTE_NAME = "previewUrl";
  public static final String COMMAND_GOAL_ATTRIBUTE_NAME = "goal";

  private Constants() {}
}
